package com.peter.design.pattern.chain.auth.optimiaze;

import com.peter.design.pattern.chain.auth.Member;

/**
 * @Auther: 肖冬
 * @Date: 2020/7/31 00:53
 * @Description:
 */
public class LoginHandler extends Handler {
    @Override
    public void doHandler(Member member) {
        System.out.println("登录成功！");
        member.setRoleName("管理员");
        next.doHandler(member);
    }
}
